package cate.game.role.pay;

import cate.common.table.pay.PayItemRow;
import easy.java.practice.errorcode.EcResult;

public class PayShopSample {

    public EcResult allow(PayItemRow pir) {
        EcResult r = new EcResult();
        if(System.currentTimeMillis() % 1 == 0) {
            return r.fail("此时非黄道吉日，不适合购买这个充值项-"+pir.nameCn);
        }
        return r.success();
    }
}
